package com.apexsoft.monitor.front.console.task.dao;

import com.apexsoft.monitor.front.console.task.om.Task;
import com.baomidou.mybatisplus.mapper.AutoMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TaskDao extends AutoMapper<Task>{
    public List<Task> selectByTask(Task task);

    public List<Task> queryTaskByNodeCode(@Param("nodeCode") String nodeCode);

    public int insertTask(Task task);
}
